package con.zzjson;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2019 shuncom team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : con.zzjson</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2019年09月11日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
@EnableAutoConfiguration
@EnableDiscoveryClient
@ComponentScan
@EnableCircuitBreaker
public class ServiceProviderBootstrap {
	public static void main(String[] args) {
		new SpringApplicationBuilder(
				ServiceProviderBootstrap.class).web(WebApplicationType.SERVLET).run(args);
	}
}